package com.caojing.haolemai.ui.outlets.outletsproductactivity;

import com.caojing.haolemai.base.IBaseModel;
import com.caojing.haolemai.base.IBasePresenter;
import com.caojing.haolemai.base.IBaseView;
import com.caojing.haolemai.bean.outletsproductbean.OutletsProductBean;

import java.util.Map;

import retrofit2.Callback;

/**
 * Created by Administrator on 2016/10/22 0022.
 */
public class OutletsProductContract {

    //    view的接口方法
    public interface View extends IBaseView {
        void getProductBeanSucess(OutletsProductBean productBean);
        void getProductBeanFail(String erro);
    }

//      modle 的接口方法
    public interface  Modle extends IBaseModel{
      void getProductBean(String productId, Map<String,String>params, Callback<OutletsProductBean>callback);
}


//    presenter的接口方法
    public interface  Presenter extends IBasePresenter{
    void getVerticalProductBean(String productId,Map<String,String>params);
}


}
